package org.example.practice.entity;

import lombok.Data;

import java.util.Date;

@Data
public class MessageInfo {
    private Integer id;
    private String from;
    private String to;
    private String message;
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;

    public MessageInfo() {
    }

    public MessageInfo(String from, String to, String message) {
        this.from = from;
        this.to = to;
        this.message = message;
    }
}
